package com.tac.common.utils;

public class UserThreadLocal extends ThreadLocal{

    public static  ThreadLocal<Integer> threadLocal=new ThreadLocal<>();

    public static Integer getId(){
        return threadLocal.get();
    }
    public static void setId(Integer id){
        threadLocal.set(id);
    }
    public static void removoId(){
        threadLocal.remove();
    }
}
